package com.wyb.service;

import com.wyb.entity.Goods;

import java.util.List;

public interface GoodsService {
    public List<Goods> queryAllGoods();
    public boolean addGoods(Goods goods);
    public Goods queryGoodsById(int id);
    public boolean deleteGoodsById(int id);
    public boolean updateGoods(Goods goods);
    public boolean updateGoodsStatus(int status,int id);
    public List<Goods> queryGoodsByGoodsName(String goodsName);
}
